const fs=require("fs")
fs.writeFile("./hello.txt","hello",function(err){
    if(err){
        console.log(err)
    }
})

fs.readFile("./hello.txt",function(err,data){
    if(err){
       console.log(err)
    }
    console.log(data)
    console.log(data.toString("UTF-8"))
})